﻿@model Bibilioteca.Models.Ejemplar

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Ejemplar</legend>
    <br /><b>@ViewBag.TituloMaterial</b> de @ViewBag.Autores <br /><br />
    <div class="display-label">
         @Html.DisplayNameFor(model => model.Estado)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Estado)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        @Html.HiddenFor(model => model.Id)
        @Html.HiddenFor(model => model.SelectedMaterial)    
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Volver al material", "Details", "Materiales", new { id = Model.SelectedMaterial }, null)
    </p>
}
